/*
 * @Author: yang bo
 * @Date: 2020-10-22 19:24:43
 * @LastEditors: Please set LastEditors
 * @LastEditTime: 2021-06-02 10:35:33
 * @LastEditTime: 2021-04-15 16:28:34
 * @Description:
 */
const xhfConfig = {
	xhfInitHomePage: "/xhfHomePage/initInfo",
	xhfHomePage_isCredit_initInfo:
		"/api-credit-granting/xhfHomePage/isCredit/initInfo", //已开通小辉付首页初始化
	xhfHomePage_notCredit_initInfo:
		"/api-credit-granting/xhfHomePage/notCredit/initInfo", //未开通小辉付首页初始化
	crediting_initInfo: "/api-credit-granting/xhfHomePage/crediting/initInfo", //授信中查询授信信息
	appBtnOpotion: "/xhfHomePage/appBtnOperation",
	appBtnOpotion_new: "/yhsh/app/xhf/appBtnOperation",
	appBtnOperation: "/api-credit-granting/xhfCreditApplying/appBtnOperation",

	xhfHomeMinRepayment: "/xhfHomePage/minimumPaymentBtn", //小辉付主页最低还款按钮
	xhfHomeRepayment: "/xhfHomePage/paymentBtn", //小辉付主页还款按钮
	xhfHomeNextRepayment: "/api-billing-application/bill/paymentBtn", //小辉付主页点击还款按钮
	xhfHomeNextMinRepayment: "/api-billing-application/bill/minimumPaymentBtn", //小辉付主页点击最低还款按钮
	billInfo: "/api-billing-application/bill/history/detail",
	billInitInfo: "/api-billing-application/bill/initInfo", // 查询小辉付账单
	billDetailInfo: "/api-billing-application/bill/tradeDetail", //非灰度用户-账单查明细
	billDetailInfoByZf: "/api-mmoney/mmoney/bill/detail", //灰度用户-支付查明细
	billHistory: "/api-billing-application/bill/history/list",
	myCoupons: "/userCenter/getCouponByRoutine/0",
	myCouponCenter: "/userCenter/enterByRoutine/0",
	xhfNewCoupon: "/userCenter/getCenterCreditSuccessCoupon", //小辉付新人卷
	drawCoupon: "/userCenter/couponGet/0",
	activateCoupon: "/api-activity/personCoupon/queryPersonCouponMission", //获取任务列表
	couponHistory: "/userCenter/couponHisByRoutine/0", //获取已过期优惠券
	cashback: "/trade/cashback/1",
	loanRecord: "/xhd/loan/getLoanList",
	paymentRecord: "/xhd/loan/getRepayList",
	// yhbXhfApply: "/xhfCredit/yhbXhfApply",
	yhbXhfApply: "/api-credit-granting/xhfCreditApplying/submitCredit", //修改-----------
	signXhContract: "/personal/signXhContract",
	vSignXhContract: "/personal/vSignXhContract",
	setPwd: "/trade/setTradePwd", //设置支付密码
	/** 新的小汇宝设置支付密码 */
	xhbSetPassword: "/xhbTradePassword/setPassword",
	ifTrustDevice: "/trust/ifTrustDevice", //校验是否信任设备
	deviceTrustToSms: "/trust/deviceTrustToSms", //校验信任设备发短信接口
	deviceTrustCheck: "/trust/deviceTrustCheck", //校验信任设备验证码校验接口
	//小辉付科罗那改版接口
	xhfbindCard: "/personal/bindCard/3", //绑卡
	xhfGetVerifyCode: "/verifyCode/bindCard/2", //绑卡获取验证码
	yhbEncrypt: "/file/yhbEncrypt/0", // 人脸
	orcBank: "/ocr/bankCard", //orc银行卡
	getBannerListByCode: "/banner/getBannerListByCode", //获取实名认证头部banner
	getCreditSuccess: "/api-credit-granting/creditSuccess/successPage", // 获取小辉付授信额度及账单日
	xhfActiveFlow: "/api-credit-granting/xhfCreditApplying/activeFlow/0", //小辉付激活流程
	xhfCheckBonus: "/app/xhf/creditFlow/getSendCouponInfo/0",
	//二要素认证
	queryTwoElementInfo: "/yhsh/app/xhf/queryTwoElementInfo",
	twoElementAuth: "/yhsh/app/xhf/twoElementAuth",
	submitCredit: "/yhsh/app/xhf/submitCredit",
	appBtnPaymentCode: "/yhsh/app/xhf/appBtnPaymentCode",
	twoElementBindCardVCode: "/yhsh/app/xhf/twoElementBindCardVCode",
	//四要素回显
	queryFourElementInfo: "/yhsh/app/xhf/queryFourElementInfo",
	/********************活体6.0-----对应sdk1.0.2版本 start*/
	// 获取token
	getLivingToken: "/app/identityAuth/getLivingToken",
	// 人脸
	livingAuth: "/app/identityAuth/livingAuth",
	/********************活体6.0-----对应sdk1.0.2版本 end*/

	//612流程接口
	//三要素回显
	queryTwoElementInfoAndMobilePhone:
		"/yhsh/app/xhf/queryTwoElementInfoAndMobilePhone",
	//发送验证码
	sendVerifyCode: "/verifyCode/sendVerifyCode",
	verifyCode_sendVerifyCode: "/api-credit-granting/verifyCode/sendVerifyCode",
	//614发送验证码
	sendVerifyCode614: "/api-credit-granting/verifyCode/sendVerifyCode",
	//提交三要素
	threeElementAuth: "/yhsh/app/xhf/threeElementAuth",
	//二要素认证保存
	creditGrantingThreeElementAuth:
		"/api-credit-granting/xhfCreditApplying/twoElementAuthAndCredit",
	//三要素认证保存
	xhfCreditApplying_threeElementAuth:
		"/api-credit-granting/xhfCreditApplying/threeElementAuthAndCredit",
	//查询授信结果
	xhfCreditApplying_queryCreditResult:
		"/api-credit-granting/xhfCreditApplying/queryCreditResult",
	//等待授信且支付接口
	pendingApproval: "/xhfCredit/pendingApproval",
	//支付成功页面
	xhfPaymentSuccessful: "/bill/member/xhfPaymentSuccessful",
	//612，613查询优惠信息
	queryMarketCouponInfo: "/yhsh/app/xhf/queryMarketCouponInfo",
	//查询授信状态
	credit_queryCreditApplyStatus:
		"/api-credit-granting/credit/queryCreditApplyStatus",
	//根据活动编号获取优惠券
	getCouponListByActivityNo: "/coupon/getCouponListByActivityNo",
	//根据页面获取banner
	getBannerListByPageType: "/banner/getBannerListByPageType",
	/**根据渠道获取页面配置banner */
	getChannelBannerList: "/banner/getChannelBannerList",
	queryFirstTiedCardBannerList: "/banner/queryFirstTiedCardBannerList",
	//602-611优惠券金额角标
	queryMarketCouponInfo602:
		"/api-credit-granting/marketActivity/xhf/queryMarketCouponInfo",
	//查询是否需要更新合同
	updateAgreement: "/api-credit-granting/contract/isShowPopup",
	//签署新合同
	agreeNewAgreement: "/api-credit-granting/contract/signCirculationContract",

	//---------------授信流程优化后接口-------------
	//反显二要素信息
	xhf_credit_initTwoElement:
		"/api-credit-granting/elementInfo/queryTwoElementInfo",
	//提交二要素
	xhf_credit_submitTwoElement:
		"/api-credit-granting/xhfCreditApplying/twoElementAuthAndNoCredit",
	//反显三要素
	xhf_credit_initThreeElement:
		"/api-credit-granting/elementInfo/queryThreeElementInfo",
	// 三要素验证码
	xhf_credit_threeElementSendCode:
		"/api-credit-granting/verifyCode/sendVerifyCode",
	//提交三要素
	xhf_credit_submitThreeElement:
		"/api-credit-granting/xhfCreditApplying/twoElementAuthAndCredit",
	//反显四要素
	xhf_credit_initFourElementInfo:
		"/api-credit-granting/elementInfo/queryFourElementInfo",
	//四要素验证码
	xhf_credit_fourElementSendCode:
		"/api-credit-granting/bankCard/bindCardAndSignSendCode",
	//提交四要素
	xhf_credit_submitFourElement:
		"/api-credit-granting/bankCard/bindCardSignAndNoSubmitCredit",
	//人脸并提交授信
	xhf_credit_faceAndSubmitApply: "/api-credit-granting/face/auth",
	//单独的612提交三要素接口
	xhf_credit_612submitThreeElement:
		"/api-credit-granting/xhfCreditApplying/threeElementAuthAndSixOneTwo",
	//---------------授信流程优化后接口-------------
	//617反显二要素
	queryTwoElementInfoOfIdCardAndName:
		"/api-credit-granting/elementInfo/queryTwoElementInfo",
	//617二要素提交
	submitTwoInfoAuth:
		"/api-credit-granting/xhfCreditApplying/twoElementAuthAndNoCredit",
	face_getFaceBizToken: "/api-credit-granting/face/getFaceBizToken",
	face_authAndSubmitCreditV2: "/api-credit-granting/face/authAndSubmitCreditV2",
	face_authNotSubmitCreditV2: "/api-credit-granting/face/authNotSubmitCreditV2"
};

export default xhfConfig;
